#ifndef __M5311_CFG_H__
#define __M5311_CFG_H__

#include <rtconfig.h>
#ifdef BSP_USING_M5311 /* BSP_USING_M5311 */

#ifndef RT_M5311_DEVICE
#define RT_M5311_DEVICE "uart2"
#endif

#ifndef RT_M5311_IP_ADDR
#define RT_M5311_IP_ADDR "180.101.147.115"
#endif

#ifndef RT_M5311_PORT_ADDR
#define RT_M5311_PORT_ADDR 5683
#endif

#ifndef RT_M5311_BAND
#define RT_M5311_BAND 8
#endif

#ifndef RT_M5311_STACK_SIZE
#define RT_M5311_STACK_SIZE 2048
#endif

#ifndef RT_M5311_THREAD_PRIORITY
#define RT_M5311_THREAD_PRIORITY 15
#endif

#ifndef RT_M5311_RESP_SIZE
#define RT_M5311_RESP_SIZE 2048
#endif

#ifndef M5311_SAMPLE_POWER_PIN
#define M5311_SAMPLE_POWER_PIN -1
#endif

#ifndef M5311_SAMPLE_RST_PIN
#define M5311_SAMPLE_RST_PIN -1
#endif

#ifndef M5311_SAMPLE_POWERON_PIN
#define M5311_SAMPLE_POWERON_PIN -1
#endif

#ifndef M5311_SAMPLE_WAKEIN_PIN
#define M5311_SAMPLE_WAKEIN_PIN -1
#endif

#ifndef RT_M5311_RECV_SIZE
#define RT_M5311_RECV_SIZE 2048
#endif

#endif /* BSP_USING_M5311 */

#endif
